package me.xiaosiqi.server_info.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author xiaosiqi
 * @date 2021/9/27 14:50
 */
@Controller
public class PageController {
    @GetMapping({"/","/index"})
    public String index() {
        return "Home";
    }
    @GetMapping("/login")
    public String login() {
        return "Login";
    }
    @GetMapping({"cmd"})
    public String cmd() {
        return "Cmd";
    }
    @GetMapping({"ipList"})
    public String ipList() {
        return "IpList";
    }
    @GetMapping({"serviceList"})
    public String serviceList() {
        return "ServiceList";
    }
}
